Einhugur GraphicsFormats Plugin for Objo

Einhugur.GraphicsFormats.RawIcoImporter.OpenFromMemoryBlock Method

Opens a ICO Image from a ICO formatted Bytes buffer, reading the bitmap by given index from the ICO file.

OpenFromMemoryBlock(
   data as MemoryBlock,
   directoryIndex as Integer) as Einhugur.RawBitmap

Parameters

data
MemoryBlock containing the ICO image data.
directoryIndex
Index of the bitmap within the ICO file to read.

Returns

Einhugur.RawBitmap
A RawBitmap instance representing the opened ICO image.

Remarks

This method can throw Exception.

See Also

Einhugur.GraphicsFormats.RawIcoImporter Class